

CKEDITOR.editorConfig = function( config )
{
	// Define changes to default configuration here. For example:
	 config.language = document.body.lang;
	config.contentsLangDirection = document.body.dir;
	config.skins = 'v2';
	
	config.contentsCss = '/css/fontcss3.css';
//the next line add the new font to the combobox in CKEditor
config.font_names = 'Khalid Art Bold/Khalid Art Bold;' + config.font_names;

	// Configure full toolbar here
	config.enterMode = CKEDITOR.ENTER_BR;
	config.toolbar = 'MyToolbar';
	config.toolbar_MyToolbar =
	[
		['Source','-','NewPage','Preview','-','Templates'],
		['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
		['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
		['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],
		'/',
		['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
		['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
		['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
		['Link','Unlink','Anchor'],
		['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
		'/',
		['Styles','Format','Font','FontSize'],
		['TextColor','BGColor'],
		['ShowBlocks','-','About']
	];
};
